<include file="Public:header" />
<div id="mainWrap">
  <div id="main">
    <div class="blank15"></div>
    <div class="blank5"></div>
    <div id="position">当前位置:用户管理</div>
    <ul class="clearfix mb10" id="subNav">
      <li><a href="{:U('user/index')}">用户资料管理</a> -- <a href="{:U('user/add')}">添加用户</a></li>
      <li><a href="{:U('role/index')}">用户组管理</a> -- <a href="{:U('role/add')}">添加用户组</a></li>
      <li><a href="{:U('node/index')}">权限节点管理</a> -- <a href="{:U('node/add')}">添加权限节点</a></li>
    </ul>
	<div class="w1156">
        <table cellpadding="0" cellspacing="5" width="100%">
          <tr>
            <td align="left"><form method="get" action="/supplier/sitemanage">
                <table cellpadding="0" cellspacing="5">
                  <tr>
                    <td>搜索:</td>
                    <td><input type="text" name="keyword" class="intxt" /></td>
                    <td><input type="submit" value="" class="btn_search" /></td>
                  </tr>
                </table>
              </form></td>
            <td align="right"></td>
          </tr>
        </table>
      </div>
	  <div class="w1156">
        <table width="100%" cellspacing="0" cellpadding="0" class="tablePublic tdHover">
          <tr>
            <th width="15%">账号</th>
            <th width="15%">真实姓名</th>
			<th width="25%">邮箱</th>
            <th width="10%">状态</th>
            <th width="10%">用户组</th>
            <th width="15%">登入时间</th>
            <th width="10%">操作</th>
          </tr>
		  <volist name="userlist" id="vo">
		  <tr>
            <td>{$vo.username}</td>
            <td>{$vo.nickname}</td>
			<td>{$vo.email}</td>
            <td align="center"><if condition="$vo.status eq 1">激活<else/>未激活</if></td>
            <td align="center">超级管理员</td>
            <td align="center">{$vo.last_login_time|date="y-m-d H:i:s",###}</td>
            <td align="center"><a href="{:U('User/edit',array(id=>$vo['id']))}">编辑</a> | <a href="#">删除</a></td>
          </tr>
		  </volist>          
        </table>
      </div>
	  <div id="page">{$page}</div>
  </div>
  <div id="mainBot"></div>
</div>
<include file="Public:footer" />